package com.pronosticnews.client.services;

import java.util.Collection;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pronosticnews.shared.model.ClubDto;

import fr.ysa.services.ServiceException;
import fr.ysa.services.config.ConfigRequetesDto;

@RemoteServiceRelativePath("clubService.rpc")
public interface ClubService extends RemoteService {

	Integer compter(ConfigRequetesDto config) throws ServiceException;

	ClubDto modifier(ClubDto obj) throws ServiceException;

	Collection<ClubDto> sauvegarder(Collection<ClubDto> entities)
			throws ServiceException;

	ClubDto sauvegarder(ClubDto obj) throws ServiceException;

	void supprimer(Collection<ClubDto> entities) throws ServiceException;

	void supprimer(ClubDto obj) throws ServiceException;

	List<ClubDto> trouver(ConfigRequetesDto config)
			throws ServiceException;

}
